ComponentOne PDF for .NET
C1.C1Pdf Namespace / C1PdfDocument Class / FillPolygon Method / FillPolygon(Color,PointF[],FillMode) Method
The color used to fill the polygon.
Array of point structures that represent the vertices of the polygon.
System.Drawing.Drawing2D.FillMode parameter that determines how to handle overlapping areas within the polygon.

In This Topic
    FillPolygon(Color,PointF[],FillMode) Method
    In This Topic
    Fills a polygon defined by an array of point structures using the specified fill mode.
    Syntax
    'Declaration
     
    
    Public Overloads Sub FillPolygon( _
       ByVal color As Color, _
       ByVal points() As PointF, _
       Optional ByVal fillMode As FillMode _
    ) 
    public void FillPolygon( 
       Color color,
       PointF[] points,
       FillMode fillMode
    )

    Parameters

    color
    The color used to fill the polygon.
    points
    Array of point structures that represent the vertices of the polygon.
    fillMode
    System.Drawing.Drawing2D.FillMode parameter that determines how to handle overlapping areas within the polygon.
    Remarks
    All coordinates are expressed in points, measured from the upper-left corner of the page.
    See Also